using System;

namespace ColladaDotNet.OpenTKMapping
{
	public class ImageCollection : DocmentLibraryCollection<SceneImage, image>, IDisposable
	{
		public ImageCollection(Document document) : base(document)
		{
		}

		public void Dispose()
		{
			foreach (var sceneImage in this)
			{
				sceneImage.Dispose();
			}
		}
	}
}